package com.example.zhaojianxu.signin.psychological.http

import retrofit2.Call
import retrofit2.http.POST
import retrofit2.http.Query

/**
 * create by @zhaojianxu on 2019/2/22
 */
interface PsycApi{

    @POST("/CommonServer/psychologicalTest")
    fun postQueryTest(): Call<MutableList<PsycEntity>>

    @POST("/CommonServer/psychologicalResult")
    fun postQueryResult(@Query("uid") uid: Int): Call<PsResult>

    @POST("/CommonServer/psychologicalUpcode")
    fun postUpcode(@Query("uid") uid: Int,@Query("code") number: Int): Call<String>
}